import fileinput

with fileinput.input(files="example.txt") as f:
    for line in f:
        print(line,end='')
